Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minecraft 1.21.4 #282

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
Open

Minecraft 1.21.4 #282

wants to merge 9 commits into from

Conversation

drouarb
Copy link

@drouarb drouarb commented Feb 21, 2025

Hello,

I updated to Minecraft 1.21.4/Sodium 0.6.9.

This update disable douira's sodium 0.6 translucency sorting to rely on nvidium's one.

Also, if you are lazy, beta builds here: https://github.com/drouarb/nvidium/releases

EDIT: Translucency sorting crash happens because of nvidium instantReschedule that can schedule a chunk for rebuild twice if async BFS is enabled. Sodium will eventually process twice a chunk that is newly generated and crash while trying to inject translucency data inside ChunkBuildOutput.
https://github.com/drouarb/nvidium/blob/181ed48f45179a0b12d231cc740eca5a714d495a/src/main/java/me/cortex/nvidium/mixin/sodium/MixinRenderSectionManager.java#L185

Maybe, nvidium instantReschedule could be removed but i'm unsure which issue it should be fixing and why it was introduced on first place. On my tests, there is no issues removing it.

Anyway for now, disabling translucency sorting seems to do the trick especially since nvidium doesn't use sodium translucency data.

I will still try to implement sodium translucency sorting inside nvidium, unsure if it will be better for performance.

@bearaujus
Copy link

bearaujus commented Feb 23, 2025

This PR is very promising, can't wait this PR to be merged & released!
I don't even understand what is happening on the files changed xD.
Anw, thanks a lot @drouarb @MCRcortex @GrinlexGH 👍

@Sorro123
Copy link

Doesn't seem to work with the latest voxy rewrite build for some reason, probably an issue on Voxy's side considering the fact it's still in development but probably also worth looking into.

@SCPRedMage SCPRedMage mentioned this pull request Feb 28, 2025
@wicivo
Copy link

wicivo commented Mar 1, 2025

2025-03-01_17 38 55
2025-03-01_17 39 14
the leaves started to look worse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants